package com.wisezone.permission.dao.impl;
import com.wisezone.common.dao.impl.BaseDaoImpl;
import com.wisezone.common.exception.WzDaoException;
import com.wisezone.permission.dao.WzUserRoleDao;
/**
 *
 *用户角色; InnoDB free: 24576 kB
 *@author create by 
 *create date 2010-07-29 14:44:51 update date 2010-07-29 14:44:51
 *
 */
public class WzUserRoleDaoImpl extends BaseDaoImpl implements WzUserRoleDao{


	/**
	 * 删除用户角色
	 * @param id
	 * @throws WzDaoException
	 */
	public void deleteByUserId(Long id) throws WzDaoException{
		 
		 if(id == null){
			 throw new IllegalArgumentException("用户Id不能为空");
		 }
		 this.execute("deleteByUserId", id);
	 }


}